// modules/introduce/pages/every-project/every-project.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    projectIntroduce: "暂无内容",
    projectPic: []
  },


  onLoad(options) {
    // 先分割 pic 字符串
    const picArray = options.pic ? options.pic.split(',') : [];

    this.setData({
      projectIntroduce: options.introduce,
      projectPic: picArray
    });
  }
})